<?php
require_once("../../views/layout/cabecalho.php");
require_once("../../controllers/CarcacaController.class.php");
$carcaca = $carcacaController->listById($_GET['id']);
?>
<div class="actions">
    <h2>Carcaça</h2>

    <ul>
        <li><a href="../../views/carcaca">Listar Carcaças</a></li>
        <li><a href="../../views/carcaca/edit.php?id=<?php echo $carcaca->getId(); ?>">Editar Carcaça</a></li>
    </ul>

</div>
<table cellspacing="1" cellpadding="0" class="view">            

    <tr align="left">
        <th>Id</th>
        <td><?php echo $carcaca->getId(); ?></td>
    </tr>

    <tr align="left">
        <th>Data de Entrada</th>
        <td><?php echo $carcaca->getData_de_entrada(); ?></td>
    </tr>                     
    <tr align="left">
        <th>Espécie</th>
        <td><?php echo $carcaca->getEspecie(); ?></td>
    </tr>
    <tr align="left">
        <th>Local de Origem</th>
        <td><?php echo $carcaca->getLocal_de_origem(); ?></td>
    </tr>     
    <tr align="left">
        <th>Responsavel pela Entrega</th>
        <td><?php echo $carcaca->getResponsavel_pela_entrega(); ?></td>
    </tr>
    <tr align="left">
        <th>Data de Saida</th>
        <td><?php echo $carcaca->getData_de_saida(); ?></td>
    </tr>
    <tr align="left">
        <th>Destino</th>
        <td><?php echo $carcaca->getDestino(); ?></td>
    </tr>

</table>
<?php
require_once("../../views/layout/rodape.php");
?>